code_before stringlengths 4 2.58M | code_after stringlengths 75 2.59M |
|---|---|
from ..expression import getEngine
from . import testHTMLTests
class ChameleonAqPageTemplate(testHTMLTests.AqPageTemplate):
def pt_getEngine(self):
return getEngine()
class ChameleonTalesExpressionTests(testHTMLTests.HTMLTests):
def setUp(self):
super().setUp()
# override with templa... | import unittest
from ..expression import getEngine
from . import testHTMLTests
class ChameleonAqPageTemplate(testHTMLTests.AqPageTemplate):
def pt_getEngine(self):
return getEngine()
class ChameleonTalesExpressionTests(testHTMLTests.HTMLTests):
def setUp(self):
super().setUp()
# ove... |
define( [
"qunit",
"jquery",
"lib/helper",
"ui/widgets/checkboxradio"
], function( QUnit, $, helper ) {
"use strict";
QUnit.module( "Checkboxradio: methods", { afterEach: helper.moduleAfterEach } );
$.each( [ "checkbox", "radio" ], function( index, value ) {
QUnit.test( value + ": refresh", function( assert ) {... | define( [
"qunit",
"jquery",
"lib/helper",
"ui/widgets/checkboxradio"
], function( QUnit, $, helper ) {
"use strict";
QUnit.module( "Checkboxradio: methods", { afterEach: helper.moduleAfterEach } );
$.each( [ "checkbox", "radio" ], function( index, value ) {
QUnit.test( value + ": refresh", function( assert ) {... |
from django.contrib.postgres.fields import ArrayField, JSONField
from django.db.models.aggregates import Aggregate
from .mixins import OrderableAggMixin
__all__ = [
'ArrayAgg', 'BitAnd', 'BitOr', 'BoolAnd', 'BoolOr', 'JSONBAgg', 'StringAgg',
]
class ArrayAgg(OrderableAggMixin, Aggregate):
function = 'ARRAY_... | from django.contrib.postgres.fields import ArrayField, JSONField
from django.db.models import Value
from django.db.models.aggregates import Aggregate
from .mixins import OrderableAggMixin
__all__ = [
'ArrayAgg', 'BitAnd', 'BitOr', 'BoolAnd', 'BoolOr', 'JSONBAgg', 'StringAgg',
]
class ArrayAgg(OrderableAggMixin,... |
from django.db.models.expressions import F, OrderBy
class OrderableAggMixin:
def __init__(self, expression, ordering=(), **extra):
if not isinstance(ordering, (list, tuple)):
ordering = [ordering]
ordering = ordering or []
# Transform minus sign prefixed strings into an OrderB... | from django.db.models.expressions import F, OrderBy
class OrderableAggMixin:
def __init__(self, *expressions, ordering=(), **extra):
if not isinstance(ordering, (list, tuple)):
ordering = [ordering]
ordering = ordering or []
# Transform minus sign prefixed strings into an Orde... |
'use strict';
var util = require('util'),
path = require('path'),
shell = require('shelljs'),
debug = require('debug')('dns-sync');
//source - http://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address
var ValidHostnameRegex = new RegExp("^(([a-zA-Z0-9]|[a-zA-Z0-9][a-... | 'use strict';
var util = require('util'),
path = require('path'),
shell = require('shelljs'),
debug = require('debug')('dns-sync');
//source - http://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address
var ValidHostnameRegex = new RegExp("^(([a-zA-Z0-9]|[a-zA-Z0-9][a-... |
{
"name": "dns-sync",
"version": "0.2.0",
"description": "dns-sync",
"main": "index.js",
"scripts": {
"test": "mocha",
"lint": "eslint ."
},
"homepage": "https://github.com/skoranga/node-dns-sync",
"repository": {
"type": "git",
"url": "git@github.com:skoranga/node-dns-sync.git"
},
"... | {
"name": "dns-sync",
"version": "0.2.1",
"description": "dns-sync",
"main": "index.js",
"scripts": {
"test": "mocha",
"lint": "eslint ."
},
"homepage": "https://github.com/skoranga/node-dns-sync",
"repository": {
"type": "git",
"url": "git@github.com:skoranga/node-dns-sync.git"
},
"... |
'use strict';
var assert = require('assert'),
dnsSync = require('../index');
describe('dns sync', function () {
it('should resolve dns', function () {
assert.ok(dnsSync.resolve('www.example.com'));
assert.ok(dnsSync.resolve('www.paypal.com'));
assert.ok(dnsSync.resolve('www.google.com... | 'use strict';
var assert = require('assert'),
fs = require('fs'),
dnsSync = require('../index');
describe('dns sync', function () {
it('should resolve dns', function () {
assert.ok(dnsSync.resolve('www.example.com'));
assert.ok(dnsSync.resolve('www.paypal.com'));
assert.ok(dnsSync... |
{
"name": "jupyter-notebook-deps",
"version": "0.0.1",
"dependencies": {
"backbone": "components/backbone#~1.2",
"bootstrap": "bootstrap#~3.4",
"bootstrap-tour": "0.9.0",
"codemirror": "components/codemirror#5.56.0+components1",
"create-react-class": "https://cdn.jsdelivr.net/npm/create-react-... | {
"name": "jupyter-notebook-deps",
"version": "0.0.1",
"dependencies": {
"backbone": "components/backbone#~1.2",
"bootstrap": "bootstrap#~3.4",
"bootstrap-tour": "0.9.0",
"codemirror": "components/codemirror#5.56.0+components1",
"create-react-class": "https://cdn.jsdelivr.net/npm/create-react-... |
{
"name": "jupyter-notebook-deps",
"private": true,
"version": "4.0.0",
"description": "Jupyter Notebook nodejs dependencies",
"author": "Jupyter Developers",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/jupyter/notebook.git"
},
"scripts": {
"bower":... | {
"name": "jupyter-notebook-deps",
"private": true,
"version": "4.0.0",
"description": "Jupyter Notebook nodejs dependencies",
"author": "Jupyter Developers",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/jupyter/notebook.git"
},
"scripts": {
"bower":... |
None | const path = require('path');
module.exports = {
entry: '@jupyterlab/apputils/lib/sanitizer',
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'notebook/static/components/sanitizer'),
libraryTarget: "amd"
}
}
|
(function($) {
$(document).ready(function() {
return window.nestedFormEvents.insertFields = function(content, assoc, link) {
var tab_content;
tab_content = $(link).closest(".controls").siblings(".tab-content");
tab_content.append(content);
return tab_content.children().last();
};
});... | (function($) {
$(document).ready(function() {
return window.nestedFormEvents.insertFields = function(content, assoc, link) {
var tab_content;
tab_content = $(link).closest(".controls").siblings(".tab-content");
tab_content.append(content);
return tab_content.children().last();
};
});... |
{
"name": "shiba",
"productName": "Shiba",
"version": "1.1.0",
"description": "Live markdown previewer with linter",
"main": "./build/src/browser/mainu.js",
"bin": {
"shiba": "./bin/cli.js"
},
"author": "rhysd <lin90162@yahoo.co.jp>",
"homepage": "https://github.com/rhysd/Shiba#readme",
"reposit... | {
"name": "shiba",
"productName": "Shiba",
"version": "1.1.0",
"description": "Live markdown previewer with linter",
"main": "./build/src/browser/mainu.js",
"bin": {
"shiba": "./bin/cli.js"
},
"author": "rhysd <lin90162@yahoo.co.jp>",
"homepage": "https://github.com/rhysd/Shiba#readme",
"reposit... |
{
"root": true,
"extends": "@ljharb",
"rules": {
"callback-return": [0],
"camelcase": [0],
"complexity": [2, 11],
"dot-notation": [2, { "allowKeywords": false }],
"eqeqeq": [2, "allow-null"],
"id-length": [2, { "min": 1, "max": 30 }],
"indent": [2, 4],
"max-lines": 0,
"max-nested-callbacks": [2, ... | {
"root": true,
"extends": "@ljharb",
"rules": {
"callback-return": [0],
"camelcase": [0],
"complexity": [2, 11],
"dot-notation": [2, { "allowKeywords": false }],
"eqeqeq": [2, "allow-null"],
"id-length": [2, { "min": 1, "max": 30 }],
"indent": [2, 4],
"max-lines": 0,
"max-nested-callbacks": [2, ... |
'use strict';
var tag = require('./tag');
var wrapWith = function (tagName) {
return function (name, field, options) {
var opt = options || {};
var wrappedContent = [];
var errorHTML = opt.hideError ? '' : field.errorHTML();
if (field.widget.type === 'multipleCheckbox' || field.widg... | 'use strict';
var tag = require('./tag');
var wrapWith = function (tagName) {
return function (name, field, options) {
var opt = options || {};
var wrappedContent = [];
var errorHTML = opt.hideError ? '' : field.errorHTML();
if (field.widget.type === 'multipleCheckbox' || field.widg... |
'use strict';
var htmlEscape = require('./htmlEscape');
var is = require('is');
var keys = require('object-keys');
// generates a string for common HTML tag attributes
var attrs = function attrs(a) {
if (typeof a.id === 'boolean') {
a.id = a.id ? 'id_' + a.name : null;
}
if (is.array(a.classes) &&... | 'use strict';
var htmlEscape = require('./htmlEscape');
var is = require('is');
var keys = require('object-keys');
// generates a string for common HTML tag attributes
var attrs = function attrs(a) {
if (typeof a.id === 'boolean') {
a.id = a.id ? 'id_' + a.name : null;
}
if (is.array(a.classes) &&... |
window.onload = function() {
var element = document.createElement('div');
element.textContent = 'injected' + 'Element';
document.body.appendChild(element);
}
| /*
* Copyright 2017 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
window.onload = function() {
var element = document.createElement('div');
element.textContent = 'injected' + 'Element';
document.body.appendChild(element);
}
| /*
* Copyright 2017 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... | const bootbox = require('bootbox');
require('./Requisitions');
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
(function() {
'use strict';
angular.module('onms-requisitions')
/**
* @ngdoc service
* @name SynchronizeService
* @module onms-requisitions
*... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, scope, $q, mockModal = {}, mockGrowl ... | /**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
var controllerFactory, s... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const RequisitionNode = re... | /*global RequisitionNode:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisi... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const Requisition = require('.... | /*global Requisition:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisition... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
/*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');
const OnmsDateFormatter =... | /*global RequisitionsData:true */
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
'use strict';
const angular = require('angular-js');
const _ = require('underscore-js');
require('angular-mocks');
require('../../../../../src/main/assets/js/apps/onms-requisitions/requis... |
from importlib import import_module
from os import path, listdir
from string import lower
from debug import logger
import paths
class MsgBase(object):
def encode(self):
self.data = {"": lower(type(self).__name__)}
def constructObject(data):
try:
classBase = eval(data[""] + "." + data[""].tit... | from importlib import import_module
from os import path, listdir
from string import lower
from debug import logger
import paths
class MsgBase(object):
def encode(self):
self.data = {"": lower(type(self).__name__)}
def constructObject(data):
try:
m = import_module("messagetypes." + data[""])
... |
None | /* eslint-disable no-unused-vars */
require('app-module-path').addPath(__dirname);
const os = require('os');
const { time } = require('lib/time-utils.js');
const { filename } = require('lib/path-utils.js');
const { asyncTest, fileContentEqual, setupDatabase, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sl... |
None | /* eslint-disable no-unused-vars */
require('app-module-path').addPath(__dirname);
const os = require('os');
const { time } = require('lib/time-utils.js');
const { filename } = require('lib/path-utils.js');
const { asyncTest, fileContentEqual, setupDatabase, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sl... |
const htmlUtils = require('./htmlUtils');
const utils = require('./utils');
const noteStyle = require('./noteStyle');
class HtmlToHtml {
constructor(options) {
if (!options) options = {};
this.resourceBaseUrl_ = 'resourceBaseUrl' in options ? options.resourceBaseUrl : null;
this.ResourceModel_ = options.Resourc... | const htmlUtils = require('./htmlUtils');
const utils = require('./utils');
const noteStyle = require('./noteStyle');
const memoryCache = require('memory-cache');
const md5 = require('md5');
class HtmlToHtml {
constructor(options) {
if (!options) options = {};
this.resourceBaseUrl_ = 'resourceBaseUrl' in options ... |
const MdToHtml = require('./MdToHtml');
const HtmlToHtml = require('./HtmlToHtml');
class MarkupToHtml {
constructor(options) {
this.options_ = Object.assign({}, {
ResourceModel: {
isResourceUrl: () => false,
},
}, options);
this.renderers_ = {};
}
renderer(markupLanguage) {
if (this.renderers_[... | const MdToHtml = require('./MdToHtml');
const HtmlToHtml = require('./HtmlToHtml');
class MarkupToHtml {
constructor(options) {
this.options_ = Object.assign({}, {
ResourceModel: {
isResourceUrl: () => false,
},
}, options);
this.renderers_ = {};
}
renderer(markupLanguage) {
if (this.renderers_[... |
const Entities = require('html-entities').AllHtmlEntities;
const htmlentities = new Entities().encode;
// [\s\S] instead of . for multiline matching
// https://stackoverflow.com/a/16119722/561309
const imageRegex = /<img([\s\S]*?)src=["']([\s\S]*?)["']([\s\S]*?)>/gi;
class HtmlUtils {
attributesHtml(attr) {
const... | const Entities = require('html-entities').AllHtmlEntities;
const htmlentities = new Entities().encode;
// [\s\S] instead of . for multiline matching
const NodeHtmlParser = require('node-html-parser');
// https://stackoverflow.com/a/16119722/561309
const imageRegex = /<img([\s\S]*?)src=["']([\s\S]*?)["']([\s\S]*?)>/gi... |
{
"name": "joplin-renderer",
"version": "1.0.8",
"description": "The Joplin note renderer, used the mobile and desktop application",
"repository": "https://github.com/laurent22/joplin/tree/master/ReactNativeClient/lib/joplin-renderer",
"main": "index.js",
"scripts": {
"test": "jasmine --config=tests/sup... | {
"name": "joplin-renderer",
"version": "1.0.8",
"description": "The Joplin note renderer, used the mobile and desktop application",
"repository": "https://github.com/laurent22/joplin/tree/master/ReactNativeClient/lib/joplin-renderer",
"main": "index.js",
"scripts": {
"test": "jasmine --config=tests/sup... |
{
"name": "Joplin",
"description": "Joplin for Mobile",
"license": "MIT",
"version": "0.8.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "node ../Tools/buildReactNativeInjectedJs.js && npx jetify && npm run encodeAssets",
"encod... | {
"name": "Joplin",
"description": "Joplin for Mobile",
"license": "MIT",
"version": "0.8.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "node ../Tools/buildReactNativeInjectedJs.js && npx jetify && npm run encodeAssets",
"encod... |
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free S... | # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free S... |
function ifempty(value) {
if(value!="") {
retvalue=value;
} else {
retvalue=" ";
}
return retvalue;
}
function rhtmlspecialchars(str) {
if (typeof(str)=="string") {
str=str.replace(/>/ig, ">");
str=str.replace(/</ig, "<");
str=str.replace(/'/g, "'");
str=str.replace(/"/ig, '"');
... | function ifempty(value) {
if(value!="") {
retvalue=value;
} else {
retvalue=" ";
}
return retvalue;
}
function rhtmlspecialchars(str) {
if (typeof(str)=="string") {
str=str.replace(/>/ig, ">");
str=str.replace(/</ig, "<");
str=str.replace(/'/g, "'");
str=str.replace(/"/ig, '"');
... |
/*
2014, Black Cat Development
@link http://blackcat-cms.org
@license http://www.gnu.org/licenses/gpl.html
@category CAT_Core
@package freshcat
*/
function getMethods(a){var b=[],c;for(c in a)try{"function"==typeof a[c]&&b.push(c+": "+a[c].toString())}catch(e){b.pus... | /*
2014, Black Cat Development
@link http://blackcat-cms.org
@license http://www.gnu.org/licenses/gpl.html
@category CAT_Core
@package freshcat
*/
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(va... |
"============================================================================
"File: avrgcc.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Karel <karelishere at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted b... | "============================================================================
"File: avrgcc.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Karel <karelishere at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted b... |
"============================================================================
"File: clang_check.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the exten... | "============================================================================
"File: clang_check.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the exten... |
"============================================================================
"File: clang_tidy.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent... | "============================================================================
"File: clang_tidy.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent... |
"============================================================================
"File: cppcheck.vim
"Description: Syntax checking plugin for syntastic using cppcheck.pl
"Maintainer: LCD 47 <lcd047 at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the ex... | "============================================================================
"File: cppcheck.vim
"Description: Syntax checking plugin for syntastic using cppcheck.pl
"Maintainer: LCD 47 <lcd047 at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the ex... |
"============================================================================
"File: oclint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: "UnCO" Lin <undercooled aT lavabit com>
"License: This program is free software. It comes without any warranty,
" to the extent permitte... | "============================================================================
"File: oclint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: "UnCO" Lin <undercooled aT lavabit com>
"License: This program is free software. It comes without any warranty,
" to the extent permitte... |
"============================================================================
"File: pc_lint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Steve Bragg <steve at empresseffects dot com>
"License: This program is free software. It comes without any warranty,
" to the extent p... | "============================================================================
"File: pc_lint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Steve Bragg <steve at empresseffects dot com>
"License: This program is free software. It comes without any warranty,
" to the extent p... |
"============================================================================
"File: sparse.vim
"Description: Syntax checking plugin for syntastic using sparse.pl
"Maintainer: Daniel Walker <dwalker at fifo99 dot com>
"License: This program is free software. It comes without any warranty,
" to t... | "============================================================================
"File: sparse.vim
"Description: Syntax checking plugin for syntastic using sparse.pl
"Maintainer: Daniel Walker <dwalker at fifo99 dot com>
"License: This program is free software. It comes without any warranty,
" to t... |
"============================================================================
"File: splint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: LCD 47 <lcd047 at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by ap... | "============================================================================
"File: splint.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: LCD 47 <lcd047 at gmail dot com>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by ap... |
"============================================================================
"File: verapp.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Lucas Verney <phyks@phyks.me>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by appli... | "============================================================================
"File: verapp.vim
"Description: Syntax checking plugin for syntastic
"Maintainer: Lucas Verney <phyks@phyks.me>
"License: This program is free software. It comes without any warranty,
" to the extent permitted by appli... |
"============================================================================
"File: cuda.vim
"Description: Syntax checking plugin for syntastic
"Author: Hannes Schulz <schulz at ais dot uni-bonn dot de>
"
"============================================================================
if exists('g:loaded_syn... | "============================================================================
"File: cuda.vim
"Description: Syntax checking plugin for syntastic
"Author: Hannes Schulz <schulz at ais dot uni-bonn dot de>
"
"============================================================================
if exists('g:loaded_syn... |
None | Attr.ClassUseCDATA
TYPE: bool/null
DEFAULT: null
VERSION: 4.0.0
--DESCRIPTION--
If null, class will auto-detect the doctype and, if matching XHTML 1.1 or
XHTML 2.0, will use the restrictive NMTOKENS specification of class. Otherwise,
it will use a relaxed CDATA definition. If true, the relaxed CDATA definition
is forc... |
None | URI.Base
TYPE: string/null
VERSION: 2.1.0
DEFAULT: NULL
--DESCRIPTION--
<p>
The base URI is the URI of the document this purified HTML will be
inserted into. This information is important if HTML Purifier needs
to calculate absolute URIs from relative URIs, such as when %URI.MakeAbsolute
is on. You m... |
None | a:253:{s:4:"fnof";s:2:"ƒ";s:5:"Alpha";s:2:"Α";s:4:"Beta";s:2:"Β";s:5:"Gamma";s:2:"Γ";s:5:"Delta";s:2:"Δ";s:7:"Epsilon";s:2:"Ε";s:4:"Zeta";s:2:"Ζ";s:3:"Eta";s:2:"Η";s:5:"Theta";s:2:"Θ";s:4:"Iota";s:2:"Ι";s:5:"Kappa";s:2:"Κ";s:6:"Lambda";s:2:"Λ";s:2:"Mu";s:2:"Μ";s:2:"Nu";s:2:"Ν";s:2:"Xi";s:2:"Ξ";s:7:"Omicron";s:2:"Ο";s:2... |
None | function toggleWriteability(id_of_patient, checked) {
document.getElementById(id_of_patient).disabled = checked;
}
// vim: et sw=4 sts=4
|
None | {
"file": "HTMLPurifier.includes.php",
"class": "HTMLPurifier",
"params": []
}
|
from __future__ import unicode_literals
from django.apps import apps
from django.utils.html import format_html_join
from .permissions import permission_cabinet_view
def jstree_data(node, selected_node):
result = []
result.append('{')
result.append('"text": "{}",'.format(node.label))
result.append(
... | from __future__ import unicode_literals
from django.apps import apps
from django.utils.html import format_html, format_html_join
from .permissions import permission_cabinet_view
def jstree_data(node, selected_node):
result = []
result.append('{')
result.append(format_html('"text": "{}",', node.label))
... |
from __future__ import absolute_import, unicode_literals
from django import forms
from django.apps import apps
from django.template.loader import render_to_string
from django.utils.safestring import mark_safe
from .permissions import permission_tag_view
class TagFormWidget(forms.SelectMultiple):
option_template... | from __future__ import absolute_import, unicode_literals
from django import forms
from django.apps import apps
from django.template.loader import render_to_string
from django.utils.html import conditional_escape
from django.utils.safestring import mark_safe
from .permissions import permission_tag_view
class TagForm... |
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
}
}
subprojects {
version = '3.0.3'
}
apply plugin: 'groovy'
apply plugin: 'idea'
group = 'com.bertramlabs.plugins'
repositories {
jcenter()
mavenCentral()
}
// groovydoc {
// groovyClasspath = configurations.doc
// }
dependencies {
... | buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
}
}
subprojects {
version = '3.0.4'
}
apply plugin: 'groovy'
apply plugin: 'idea'
group = 'com.bertramlabs.plugins'
repositories {
jcenter()
mavenCentral()
}
// groovydoc {
// groovyClasspath = configurations.doc
// }
dependencies {
... |
{
"name": "simditor",
"version": "2.3.21",
"description": "A simple online editor",
"keywords": "editor simditor",
"repository": {
"type": "git",
"url": "git@github.com:mycolorway/simditor.git"
},
"author": "farthinker <farthinker@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://gi... | {
"name": "simditor",
"version": "2.3.22",
"description": "A simple online editor",
"keywords": "editor simditor",
"repository": {
"type": "git",
"url": "git@github.com:mycolorway/simditor.git"
},
"author": "farthinker <farthinker@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://gi... |
None | webpackJsonp([1],{"+NZg":function(t,e){},"/BJT":function(t,e){},"/Ph2":function(t,e){},"0G7g":function(t,e){},"0mvO":function(t,e){},"1nff":function(t,e){},"2eZB":function(t,e){},"5Fpp":function(t,e){},"6Gtl":function(t,e){},"8YgU":function(t,e){},"8gQg":function(t,e){},"9p//":function(t,e){},"9vwn":function(t,e){},AQn... |
# this is a package
__version__ = "4.6.2"
def get_include():
"""
Returns a list of header include paths (for lxml itself, libxml2
and libxslt) needed to compile C code against lxml if it was built
with statically linked libraries.
"""
import os
lxml_path = __path__[0]
include_path = o... | # this is a package
__version__ = "4.6.3"
def get_include():
"""
Returns a list of header include paths (for lxml itself, libxml2
and libxslt) needed to compile C code against lxml if it was built
with statically linked libraries.
"""
import os
lxml_path = __path__[0]
include_path = o... |
# this is a package
__version__ = "4.6.4"
def get_include():
"""
Returns a list of header include paths (for lxml itself, libxml2
and libxslt) needed to compile C code against lxml if it was built
with statically linked libraries.
"""
import os
lxml_path = __path__[0]
include_path = o... | # this is a package
__version__ = "4.6.5"
def get_include():
"""
Returns a list of header include paths (for lxml itself, libxml2
and libxslt) needed to compile C code against lxml if it was built
with statically linked libraries.
"""
import os
lxml_path = __path__[0]
include_path = o... |
# -*- coding: utf-8 -*-
##############################################################################
# 2011 E2OpenPlugins #
# #
# This file is open source software; you can redistribute... | # -*- coding: utf-8 -*-
##############################################################################
# 2011 E2OpenPlugins #
# #
# This file is open source software; you can redistribute... |
{
"name": "glance",
"version": "3.0.3",
"description": "disposable fileserver",
"main": "index.js",
"bin": {
"glance": "./bin/glance.js"
},
"scripts": {
"lint": "standard index.js test/index.js bin/glance.js",
"test": "node test/index.js && npm run lint"
},
"repository": {
"type": "git... | {
"name": "glance",
"version": "3.0.3",
"description": "disposable fileserver",
"main": "index.js",
"bin": {
"glance": "./bin/glance.js"
},
"scripts": {
"lint": "standard index.js test/index.js bin/glance.js",
"test": "node test/index.js && npm run lint"
},
"repository": {
"type": "git... |
{
"name": "connect",
"version": "2.13.1",
"description": "High performance middleware framework",
"keywords": [
"framework",
"web",
"middleware",
"connect",
"rack"
],
"repository": "git://github.com/senchalabs/connect.git",
"author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholow... | {
"name": "connect",
"version": "2.13.1",
"description": "High performance middleware framework",
"keywords": [
"framework",
"web",
"middleware",
"connect",
"rack"
],
"repository": "git://github.com/senchalabs/connect.git",
"author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholow... |
{
"name": "crud-file-server",
"version": "0.8.0",
"description": "file server supporting basic create, read, update, & delete for any kind of file",
"bin": {
"crud-file-server": "./bin/crud-file-server"
},
"main": "./crud-file-server.js",
"repository": {
"type": "git",
"url": "https://github.c... | {
"name": "crud-file-server",
"version": "0.9.0",
"description": "file server supporting basic create, read, update, & delete for any kind of file",
"bin": {
"crud-file-server": "./bin/crud-file-server"
},
"main": "./crud-file-server.js",
"repository": {
"type": "git",
"url": "https://github.c... |
/*!
* resolve-path
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var createError = require('http-errors')
var normalize = require('path').normalize
var pathIsAbsolute = require('path-is-absolute')
var re... | /*!
* resolve-path
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var createError = require('http-errors')
var join = require('path').join
var normalize = require('path').normalize
var pathIsAbsolute = re... |
None | (function(){
var message = 'Ya been pwned by an XSS from an unsanitized script tag injection.';
if(alertify){
alertify.error(message);
} else {
alert(message);
};
})();
|
{
"name": "WebMicrobeTrace",
"version": "0.3.0",
"main": "index.js",
"author": "Tony Boyles <Anthony@Boyles.cc>",
"license": "MIT",
"repository": "https://github.com/AABoyles/WebMicrobeTrace.git",
"engines": {
"node": "9.8.0",
"yarn": "1.5.1"
},
"scripts": {
"appcache": "./appcache.sh",
... | {
"name": "WebMicrobeTrace",
"version": "0.3.0",
"main": "index.js",
"author": "Tony Boyles <Anthony@Boyles.cc>",
"license": "MIT",
"repository": "https://github.com/AABoyles/WebMicrobeTrace.git",
"engines": {
"node": "9.8.0",
"yarn": "1.5.1"
},
"scripts": {
"appcache": "sh appcache.sh",
... |
# -*- coding: utf-8 -*-
# Copyright 2019 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # -*- coding: utf-8 -*-
# Copyright 2019 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... |
# -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | # -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... |
# -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... |
None | # -*- coding: utf-8 -*-
# Copyright 2021 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... |
None | from twisted.trial import unittest
from sydent.util.stringutils import is_valid_hostname
class UtilTests(unittest.TestCase):
"""Tests Sydent utility functions."""
def test_is_valid_hostname(self):
"""Tests that the is_valid_hostname function accepts only valid
hostnames (or domain names), with... |
# -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | # -*- coding: utf-8 -*-
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... |
# -*- coding: utf-8 -*-
# Copyright 2021 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # -*- coding: utf-8 -*-
# Copyright 2021 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... |
from twisted.trial import unittest
from sydent.util.stringutils import is_valid_hostname
class UtilTests(unittest.TestCase):
"""Tests Sydent utility functions."""
def test_is_valid_hostname(self):
"""Tests that the is_valid_hostname function accepts only valid
hostnames (or domain names), with... | from twisted.trial import unittest
from sydent.util.stringutils import is_valid_matrix_server_name
class UtilTests(unittest.TestCase):
"""Tests Sydent utility functions."""
def test_is_valid_matrix_server_name(self):
"""Tests that the is_valid_matrix_server_name function accepts only
valid ho... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.